package cn.edu.scau.cmi.liujiaming.chapter06;

public class Rectangle extends Geometry {
	double width,height;
	Rectangle(){
		
	}
	Rectangle(double width,double height){
		this.width=width;
		this.height=height;
	}
	@Override
	public double getArea() {
		double area;
		area=width*height;
		return area;
	}

}
